import httpRequest from "@/request/requestConfig.js"

//这个文件放置请求 requestConfig.js进行get请求方法
//封装get请求
export function ajaxGet(url,params){
    return httpRequest.request({
        url:url,
        method:"GET",
        params:params
    })
}

//封装post
export function ajaxPost(url,data){
    return httpRequest.request({
        url:url,
        method:"POST",
        data:data
    })
}